Skip to main content

Booking flow - Get timeslots

GET 

/v1/restaurants/:id/timeslots

Get list of time slots for a given restaurant and date.

Request

Path Parameters

    id stringrequired

    restaurant uuid that needs to be considered for filter

Query Parameters

    date stringrequired

    date that needs to be considered for filter

    offerUuid string

    offer uuid that may be considered for filter

    partySize number

    party size that may be considered for filter

Responses

Successful

Schema

  • Array [

  • datetime stringrequired

    Date and time of the timeslot

    offers string[]

    List of offer uuids linked to the timeslot

    hasNormalStock booleanrequired

    Has availability for reservation without offer

    hasPaymentGuaranteeRequirement booleanrequired

    This timeslot requires a payment guarantee. If true at least one offer and/or the normal stock is protected by a guarantee requirement

    guaranteeRequirementList

    object[]

    required

    Detail of the guarantee requirement (will have at least 1 object if the hasPaymentGuaranteeRequirement is true)

  • Array [

  • guaranteeType stringrequired

    Possible values: [imprint, prepayment]

    amount integerrequired

    amount of the guarantee (in euros)

    minimumCancellationHours integerrequired

    minimum amount of hours needed before the mealdate in case of cancellation

    minimumPartySize integerrequired

    minimum party size for which this guarantee requirement applies. If it applies to all party sizes, minimumPartySize will be equal to 0

    offerUuid string

    offer uuid linked to the guarantee requirement. If no offerUuid is present, we are dealing with the normal stock

  • ]

  • ]

Loading...